import request from '@/utils/request'

// 查询达人推广费用列表
export function listTalentpromotioncosts(query) {
  return request({
    url: '/live/talentpromotioncosts/list',
    method: 'get',
    params: query
  })
}

// 查询达人推广费用详细
export function getTalentpromotioncosts(id) {
  return request({
    url: '/live/talentpromotioncosts/' + id,
    method: 'get'
  })
}

// 新增达人推广费用
export function addTalentpromotioncosts(data) {
  return request({
    url: '/live/talentpromotioncosts',
    method: 'post',
    data: data
  })
}

// 修改达人推广费用
export function updateTalentpromotioncosts(data) {
  return request({
    url: '/live/talentpromotioncosts',
    method: 'put',
    data: data
  })
}

// 删除达人推广费用
export function delTalentpromotioncosts(id) {
  return request({
    url: '/live/talentpromotioncosts/' + id,
    method: 'delete'
  })
}
